From: Wilfred Hughes Date: Thu, 1 Sep 2011 07:29:56 +0000 (-0700) Subject: * lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change) X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2415 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=99a44a4b8125a52bc65d87a5affb090046410ced;p=emacs.git * lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d769572d1d5..57d5958cc83 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-09-01 Wilfred Hughes (tiny change) + + * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408) + 2011-08-31 Richard Stallman * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 711a573ba99..fc42b43c97d 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -988,7 +988,8 @@ This command shares argument histories with \\[rgrep] and \\[grep]." (setq command nil)) (setq dir (file-name-as-directory (expand-file-name dir))) (setq command - (grep-expand-template "git grep -n -e -- " regexp files)) + (grep-expand-template "git grep --no-color -n -e -- " + regexp files)) (when command (if (equal current-prefix-arg '(4)) (setq command